package glock

type Cmder struct {
	CmdType uint8
	Datas   []byte
}

const (
	Cmd_Lock   = 1
	Cmd_Unlock = 2
)

type Result struct {
	CmdType uint8
	Success bool
	ErrStr  string
}

type LockReq struct {
	Key    string
	Expire int64
}

type UnlockReq struct {
	Key string
}
